package com.litong.rms.service;

import java.util.List;

import com.litong.rms.bean.UserRole;

public interface UserRoleService {
	
	public void addUserRole(UserRole ur);
	
	public UserRole findUserRole(UserRole ur);
	
	public void updateUserRole(UserRole ur);
	
	public void deleteUserRole(UserRole ur);
	
	public <T>List<T> getUserRoleList();
	
	public <T>List<T> getUserRoleList(int userId);
	
	public void deleteUserRole(String tableName,int entityId);
}
